import { ApiProperty } from '@nestjs/swagger';
export class TagDto {
    @ApiProperty({
        description: '名称',
        type: String,
        example: '新闻',
        required: false
      })
      name: string;
    
      @ApiProperty({
        description: '备注',
        type: String,
        example: '新闻备注',
        required: false
      })
      desc:string;
      @ApiProperty({
        description: '用户ID',
        type: String,
        example: '1001',
        required: false
      })
      userId:string;
}
